package com.zmj.sy.mom.srv.aps.bean.dto.wms;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
@JacksonXmlRootElement(localName = "PicklistLine")
public class MesPicking {

    /**
     * 领料编号
     */
    @JacksonXmlProperty(localName = "pickListNo")
    private Long pickListNo;

    /**
     * 领料排序号
     */
    @JacksonXmlProperty(localName = "PickListItemNo")
    private Integer pickListItemNo;
    /**
     * 物料类型
     */
    @JacksonXmlProperty(localName = "MaterialType")
    private String materialType;
    /**
     * 唯一图号
     */
    @JacksonXmlProperty(localName = "PLMID")
    private String materialCode;
    /**
     * 规格
     */
    @JacksonXmlProperty(localName = "Grade")
    private String grade;
    /**
     * 材质
     */
    @JacksonXmlProperty(localName = "Material")
    private String material;
    /**
     * 物料号
     */
    @JacksonXmlProperty(localName = "itemNo")
    private String itemNo;
    /**
     * 物料名称
     */
    @JacksonXmlProperty(localName = "itemName")
    private String itemName;
    /**
     * 出库个数
     */
    @JacksonXmlProperty(localName = "qty")
    private Integer qty;
    /**
     * 下道工位
     */
    @JacksonXmlProperty(localName = "nextWorkPlace")
    private String nextWorkPlace;
    /**
     * 下道工作组
     */
    @JacksonXmlProperty(localName = "nextWorkGroup")
    private String nextWorkGroup;
    /**
     * 施工号
     */
    @JacksonXmlProperty(localName = "constructNo")
    private String constructNo;
    /**
     * 工单号
     */
    @JacksonXmlProperty(localName = "constructOrderNo")
    private String constructOrderNo;
    /**
     * 计划领料时间
     */
    @JacksonXmlProperty(localName = "planPickTime")
    private String planPickTime;
    /**
     * 发送时间
     */
    private String timeStamp;
    /**
     * 领料工作中心
     */
    @JacksonXmlProperty(localName = "nextWorkCenter")
    private String workId;
    /**
     * 标识领料单是哪个工作包的
     */
    @JacksonXmlProperty(localName = "WPxNo")
    private String wpxNo;
    /**
     * 对应顶底掩侧的PLMID
     */
    @JacksonXmlProperty(localName = "RootPLMID")
    private String rootPlmid;
    /**
     * 标识顶底掩侧的名称
     */
    @JacksonXmlProperty(localName = "RootName")
    private String rootName;

    /**
     * 目标系统
     */
    @JacksonXmlProperty(localName = "target")
    private String target;
}